<label class="caption1">
    修改线路分类信息
</label>
<br/>
<br/>
<div class="edit_form">
    <%= error_messages_for :tour_category %>
    <% form_for([:admin, @tour_category]) do |f| %>
    <p>
        <label for="tour_category_name">
            分类名称
        </label>
        <br/>
        <%= f.text_field :name %>
    </p>
    <p>
        <label for="tour_category_description">
            分类描述信息
        </label>
        <br/>
        <%= fckeditor_textarea("tour_category", "description", :toolbarSet => 'Simple', :width => '100%', :height => '400px') %>
    </p>
    <%= f.submit "保存", :class=>"submit" %>
    <%= render :partial => "admin/destroy_link", :locals =>{:url => [:admin, @tour_category], :name => "分类“#{@tour_category.name}”及其线路"} %>
    |<%= link_to '取消', admin_tour_categories_path %>
    <% end %>
</div>
